package com.dushibao.service;

import com.dushibao.entity.Article;
import com.dushibao.utils.Page;

import java.util.List;

public interface ArticleService {
    Integer save(Article article);

    Page page(Page page, String author, String title);

    Article getById(long id);

    Integer saveOrUpdate(Article article);

    Integer deleteById(List<Long> ids);
}
